[INFO] cloning repository https://github.com/quackmagic/duckdb-extension-pyroscope
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quackmagic/duckdb-extension-pyroscope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquackmagic%2Fduckdb-extension-pyroscope", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquackmagic%2Fduckdb-extension-pyroscope'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 85d8d55757c2b06d01b21fcc98e8c61ecee978f5
[INFO] fixing quackmagic/duckdb-extension-pyroscope against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquackmagic%2Fduckdb-extension-pyroscope" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/quackmagic/duckdb-extension-pyroscope
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/quackmagic/duckdb-extension-pyroscope
[INFO] tweaked toml for git repo https://github.com/quackmagic/duckdb-extension-pyroscope written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quackmagic/duckdb-extension-pyroscope on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quackmagic/duckdb-extension-pyroscope already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b
[INFO] running `Command { std: "docker" "start" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking lexical-util v1.0.3
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking arrow-schema v55.1.0
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling rustls v0.23.19
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling prettyplease v0.2.22
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]     Checking lexical-write-integer v1.0.2
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]     Checking lexical-parse-integer v1.0.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling cpp_demangle v0.4.4
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking lexical-parse-float v1.0.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking lexical-write-float v1.0.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking debugid v0.8.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking webpki-roots v0.26.7
[INFO] [stderr]    Compiling findshlibs v0.10.2
[INFO] [stderr]     Checking rle-decode-fast v1.0.3
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]    Compiling names v0.14.0
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling symbolic-demangle v12.12.3
[INFO] [stderr]    Compiling thiserror v2.0.6
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking symbolic-common v12.12.3
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling tar v0.4.42
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking libflate_lz77 v1.2.0
[INFO] [stderr]     Checking lexical-core v1.0.2
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]    Compiling pprof2 v0.13.1
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking libflate v1.4.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking arrow-buffer v55.1.0
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking arrow-data v55.1.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]     Checking tempfile v3.14.0
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking prost v0.11.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking hyper v1.5.1
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking thiserror v1.0.65
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking arrow-array v55.1.0
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking comfy-table v7.1.1
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling duckdb-loadable-macros v0.1.7
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking tokio-rustls v0.26.1
[INFO] [stderr]     Checking hyper-rustls v0.27.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking arrow-select v55.1.0
[INFO] [stderr]     Checking arrow-arith v55.1.0
[INFO] [stderr]     Checking arrow-row v55.1.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking arrow-ord v55.1.0
[INFO] [stderr]     Checking arrow-string v55.1.0
[INFO] [stderr]     Checking arrow-cast v55.1.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking arrow v55.1.0
[INFO] [stderr]    Compiling libduckdb-sys v1.3.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking reqwest v0.12.9
[INFO] [stderr]     Checking duckdb v1.3.0
[INFO] [stderr]     Checking pyroscope v0.5.8
[INFO] [stderr]     Checking pyroscope_pprofrs v0.2.8
[INFO] [stderr]     Checking pyroscope v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `pyroscope`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:157:1
[INFO] [stderr]                |
[INFO] [stderr]            157 | #[duckdb_entrypoint_c_api()]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]    Migrating src/wasm_lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024
[INFO] [stdout]    --> src/lib.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 |         if let Some(running_agent) = agent_lock.take() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      this value has a significant drop implementation which may observe a major change in drop order and requires your discretion
[INFO] [stdout]     |
[INFO] [stdout]     = note: value may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] help: the value is now dropped here in Edition 2024
[INFO] [stdout]    --> src/lib.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         } else {
[INFO] [stdout]     |         ^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-if-let-scope.html>
[INFO] [stdout]     = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021
[INFO] [stdout]     |
[INFO] [stdout] 135 ~         match agent_lock.take() { Some(running_agent) => {
[INFO] [stdout] 136 |             running_agent.shutdown();
[INFO] [stdout] ...
[INFO] [stdout] 140 |             output.set_len(1);
[INFO] [stdout] 141 ~         } _ => {
[INFO] [stdout] 142 |             let vector = output.flat_vector(0);
[INFO] [stdout] 143 |             vector.insert(0, CString::new("No profiling session running")?);
[INFO] [stdout] 144 |             output.set_len(1);
[INFO] [stdout] 145 ~         }}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `pyroscope`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024
[INFO] [stdout]    --> src/lib.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 |         if let Some(running_agent) = agent_lock.take() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      this value has a significant drop implementation which may observe a major change in drop order and requires your discretion
[INFO] [stdout]     |
[INFO] [stdout]     = note: value may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] help: the value is now dropped here in Edition 2024
[INFO] [stdout]    --> src/lib.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         } else {
[INFO] [stdout]     |         ^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-if-let-scope.html>
[INFO] [stdout]     = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021
[INFO] [stdout]     |
[INFO] [stdout] 135 ~         match agent_lock.take() { Some(running_agent) => {
[INFO] [stdout] 136 |             running_agent.shutdown();
[INFO] [stdout] ...
[INFO] [stdout] 140 |             output.set_len(1);
[INFO] [stdout] 141 ~         } _ => {
[INFO] [stdout] 142 |             let vector = output.flat_vector(0);
[INFO] [stdout] 143 |             vector.insert(0, CString::new("No profiling session running")?);
[INFO] [stdout] 144 |             output.set_len(1);
[INFO] [stdout] 145 ~         }}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:157:1
[INFO] [stderr]                |
[INFO] [stderr]            157 | #[duckdb_entrypoint_c_api()]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `pyroscope`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:157:1
[INFO] [stderr]                |
[INFO] [stderr]            157 | #[duckdb_entrypoint_c_api()]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.60s
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024
[INFO] [stdout]    --> src/lib.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 |         if let Some(running_agent) = agent_lock.take() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      this value has a significant drop implementation which may observe a major change in drop order and requires your discretion
[INFO] [stdout]     |
[INFO] [stdout]     = note: value may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] note: value invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:657:0
[INFO] [stdout] help: the value is now dropped here in Edition 2024
[INFO] [stdout]    --> src/lib.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         } else {
[INFO] [stdout]     |         ^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-if-let-scope.html>
[INFO] [stdout]     = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021
[INFO] [stdout]     |
[INFO] [stdout] 135 ~         match agent_lock.take() { Some(running_agent) => {
[INFO] [stdout] 136 |             running_agent.shutdown();
[INFO] [stdout] ...
[INFO] [stdout] 140 |             output.set_len(1);
[INFO] [stdout] 141 ~         } _ => {
[INFO] [stdout] 142 |             let vector = output.flat_vector(0);
[INFO] [stdout] 143 |             vector.insert(0, CString::new("No profiling session running")?);
[INFO] [stdout] 144 |             output.set_len(1);
[INFO] [stdout] 145 ~         }}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: pyroscope v0.1.3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking pyroscope v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lib::extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pyroscope` (example "pyroscope") due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 158 ~ unsafe(pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] ...
[INFO] [stdout] 163 |     Ok(())
[INFO] [stdout] 164 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | / pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 159 | |     con.register_table_function::<TraceStartVTab>("trace_start")
[INFO] [stdout] 160 | |         .expect("Failed to register trace_start function");
[INFO] [stdout] 161 | |     con.register_table_function::<TraceStopVTab>("trace_stop")
[INFO] [stdout] 162 | |         .expect("Failed to register trace_stop function");
[INFO] [stdout] 163 | |     Ok(())
[INFO] [stdout] 164 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pyroscope` (lib) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] error: could not compile `pyroscope` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b", kill_on_drop: false }`
[INFO] [stdout] 4128c1bc4923839d4f81de9bd8493fa9202a230b685dde618c7b11f15358b77b
